GetGenerationNumber
TheGetGenerationNumber
method returns the generation number of the currently focused value.
ODULong GetGenerationNumber ();
- return value
- The generation number of the currently focused value, expressed as an unsigned 32-bit value.
DISCUSSION
You can use the generation number of a value to tell whether the data in the value has changed. For example, your part could compare the number returned by this method with a saved generation number.EXCEPTIONS
kODErrUnfocusedStorageUnit
- This storage unit is not focused on a value.
kODErrZeroRefCount
- This storage unit has a reference count of 0.
SEE ALSO
TheODStorageUnit::IncrementGenerationNumber
method (page 700).
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help